//
//  FastFunction_Font.m
//  New_Runway
//
//  Created by 邢毅 on 2018/4/13.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "FastFunction_Font.h"

UIFont * kTitleFontSize(void) {
    
    return [UIFont systemFontOfSize:19.0];
}

#pragma mark 大小-细体
/// *号字体
UIFont * kFontSize(int size) {
    return [UIFont systemFontOfSize:size];
}
/// *号粗体
UIFont * kFontSizeBold(int size) {
    return [UIFont boldSystemFontOfSize:size];
}

/// 9号字体
UIFont * kFontSize9(void) {
    return [UIFont systemFontOfSize:9.0];
}

/// 10号字体
UIFont * kFontSize10(void) {
    return [UIFont systemFontOfSize:10.0];
}

/// 11号字体
UIFont * kFontSize11(void) {
    return [UIFont systemFontOfSize:11.0];
}

/// 12号字体
UIFont * kFontSize12(void) {
    return [UIFont systemFontOfSize:12.0];
}

/// 13号字体
UIFont * kFontSize13(void) {
    return [UIFont systemFontOfSize:13.0];
}

/// 14号字体
UIFont * kFontSize14(void) {
    return [UIFont systemFontOfSize:14.0];
}

/// 15号字体
UIFont * kFontSize15(void) {
    return [UIFont systemFontOfSize:15.0];
}

/// 16号字体
UIFont * kFontSize16(void) {
    return [UIFont systemFontOfSize:16.0];
}

/// 17号字体
UIFont * kFontSize17(void) {
    return [UIFont systemFontOfSize:17.0];
}

/// 18号字体
UIFont * kFontSize18(void) {
    return [UIFont systemFontOfSize:18.0];
}

/// 19号字体
UIFont * kFontSize19(void) {
    return [UIFont systemFontOfSize:19.0];
}

/// 20号字体
UIFont * kFontSize20(void) {
    return [UIFont systemFontOfSize:20.0];
}

/// 21号字体
UIFont * kFontSize21(void) {
    return [UIFont systemFontOfSize:21.0];
}

/// 22号字体
UIFont * kFontSize22(void) {
    return [UIFont systemFontOfSize:22.0];
}

/// 24号字体
UIFont * kFontSize24(void) {
    return [UIFont systemFontOfSize:24.0];
}

/// 25号字体
UIFont * kFontSize25(void) {
    return [UIFont systemFontOfSize:25.0];
}

/// 30号字体
UIFont * kFontSize30(void) {
    return [UIFont systemFontOfSize:30.0];
}

/// 50号字体
UIFont * kFontSize50(void) {
    return [UIFont systemFontOfSize:50.0];
}

/// 60号字体
UIFont * kFontSize60(void) {
    return [UIFont systemFontOfSize:60.0];
}

#pragma mark 大小-粗体

/// 10号粗字体
UIFont * kFontSizeBold10(void) {
    return [UIFont boldSystemFontOfSize:10.0];
}

/// 11号粗字体
UIFont * kFontSizeBold11(void) {
    return [UIFont boldSystemFontOfSize:11.0];
}

/// 12号粗字体
UIFont * kFontSizeBold12(void) {
    return [UIFont boldSystemFontOfSize:12.0];
}

/// 13号粗字体
UIFont * kFontSizeBold13(void) {
    return [UIFont boldSystemFontOfSize:13.0];
}

/// 14号粗字体
UIFont * kFontSizeBold14(void) {
    return [UIFont boldSystemFontOfSize:14.0];
}

/// 15号粗字体
UIFont * kFontSizeBold15(void) {
    return [UIFont boldSystemFontOfSize:15.0];
}

/// 16号粗字体
UIFont * kFontSizeBold16(void) {
    return [UIFont boldSystemFontOfSize:16.0];
}

/// 17号粗字体
UIFont * kFontSizeBold17(void) {
    return [UIFont boldSystemFontOfSize:17.0];
}

/// 20号字粗体
UIFont * kFontSizeBold20(void) {
    return [UIFont boldSystemFontOfSize:20.0];
}

/// 21号字粗体
UIFont * kFontSizeBold21(void) {
    return [UIFont boldSystemFontOfSize:21.0];
}

/// 22号字粗体
UIFont * kFontSizeBold22(void) {
    return [UIFont boldSystemFontOfSize:22.0];
}

/// 23号字粗体
UIFont * kFontSizeBold23(void) {
    return [UIFont boldSystemFontOfSize:23.0];
}

/// 24号字粗体
UIFont * kFontSizeBold24(void) {
    return [UIFont boldSystemFontOfSize:24.0];
}

#pragma mark 苹方

// 苹方常规
UIFont * kFondWithNameAndSize(NSString *fontName,CGFloat fontSize) {
    return [UIFont fontWithName:fontName size:fontSize];
}
UIFont * kPingFangRegularSize(CGFloat fontSize) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:fontSize];
}

UIFont * kPingFangRegular10(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:10];
}
UIFont * kPingFangRegular11(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:11];
}
UIFont * kPingFangRegular12(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:12];
}
UIFont * kPingFangRegular13(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:13];
}
UIFont * kPingFangRegular14(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:14];
}
UIFont * kPingFangRegular15(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:15];
}
UIFont * kPingFangRegular16(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:16];
}
UIFont * kPingFangRegular17(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:17];
}
UIFont * kPingFangRegular18(void) {
    return [UIFont fontWithName:@"PingFangSC-Regular" size:18];
}

// 苹方中等
UIFont * kPingFangMedium10(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 10);
}
UIFont * kPingFangMedium11(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 11);
}
UIFont * kPingFangMedium12(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 12);
}
UIFont * kPingFangMedium13(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 13);
}
UIFont * kPingFangMedium14(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 14);
}
UIFont * kPingFangMedium15(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 15);
}
UIFont * kPingFangMedium16(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 16);
}
UIFont * kPingFangMedium17(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 17);
}
UIFont * kPingFangMedium18(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 18);
}
UIFont * kPingFangMedium19(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 19);
}
UIFont * kPingFangMedium20(void) {
    return kFondWithNameAndSize(@"PingFangSC-Medium", 20);
}

// 苹方加粗
UIFont * kPingFangSemibold10(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 10);
}
UIFont * kPingFangSemibold11(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 11);
}
UIFont * kPingFangSemibold12(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 12);
}
UIFont * kPingFangSemibold13(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 13);
}
UIFont * kPingFangSemibold14(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 14);
}
UIFont * kPingFangSemibold15(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 15);
}
UIFont * kPingFangSemibold16(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 16);
}
UIFont * kPingFangSemibold17(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 17);
}
UIFont * kPingFangSemibold18(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 18);
}
UIFont * kPingFangSemibold19(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 19);
}
UIFont * kPingFangSemibold20(void) {
    return kFondWithNameAndSize(@"PingFangSC-Semibold", 20);
}
